package com.okRPC.impl;

import com.okRPC.apis.OkService;
import com.okRPC.server.annotation.RpcService;

/**
 * Description: This is a sample class.
 * Author: Simon
 * Date: 2023/10/10
 */
@RpcService(interfaceType = OkService.class, version = "1.0")
public class OkServiceImpl implements OkService {
    @Override
    public String sayOk() {
        return "you know what? everything's ok";
    }

    @Override
    public String sayHello(String name) {
        return name;
    }
}
